package com.xrc;

import java.util.Scanner;

public class Exercise02 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.print("请输入会员积分：");
        int integral=sc.nextInt();
        if(integral<2000){
            System.out.println("该会员享受到折扣是：9折");
        }else if(2000<=integral && integral<40000){
            System.out.println("该会员享受到折扣是：8折");
        }else if(4000<=integral && integral<8000){
            System.out.println("该会员享受到折扣是：7折");
        }else{
            System.out.println("该会员享受到折扣是：6折");
        }
    }
}
